package com.ytjj.qmyx.admin.controller;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.admin.service.ClickConfigService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 
 *
 * @Version: 1.0
 *
 * 点击配置 管理
 */
@RestController
@RequestMapping("/clickConfig")
public class ClickConfigController {

    @Resource
    private ClickConfigService clickConfigService;

    @PostMapping("/list")
    public CommonResult getList() {
        return CommonResult.success(clickConfigService.selList());
    }

}
